package com.example.administrator.runbook.findfragment.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by 俊峰 on 2016/11/10.
 */

public class BookMessageList {

    @SerializedName("chapters")
    private List<MessageList> chapters;

    public List<MessageList> getChapters() {
        return chapters;
    }

    public void setChapters(List<MessageList> chapters) {
        this.chapters = chapters;
    }

    public class MessageList {


        /**
         * title : 一 乱世废帝
         * link : http://vip.zhuishushenqi.com/chapter/573d4c0cfba5ce777b18b5b1?cv=1472100266593
         * id : 573d4c0cfba5ce777b18b5b1
         * currency : 20
         * unreadble : false
         * isVip : false
         */

        @SerializedName("title")
        private String title;
        @SerializedName("link")
        private String link;
        @SerializedName("id")
        private String id;
        @SerializedName("currency")
        private int currency;
        @SerializedName("unreadble")
        private boolean unreadble;
        @SerializedName("isVip")
        private boolean isVip;
        private boolean isChick = false;
        private boolean isHere = false;

        public boolean isHere() {
            return isHere;
        }

        public void setHere(boolean here) {
            isHere = here;
        }

        public boolean getChick() {
            return isChick;
        }

        public void setChick(boolean chick) {
            isChick = chick;
        }

        public boolean isVip() {
            return isVip;
        }

        public void setVip(boolean vip) {
            isVip = vip;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getCurrency() {
            return currency;
        }

        public void setCurrency(int currency) {
            this.currency = currency;
        }

        public boolean isUnreadble() {
            return unreadble;
        }

        public void setUnreadble(boolean unreadble) {
            this.unreadble = unreadble;
        }

        public boolean isIsVip() {
            return isVip;
        }

        public void setIsVip(boolean isVip) {
            this.isVip = isVip;
        }
    }
}
